package com.leyou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableDiscoveryClient  //Eureka客户端
@MapperScan("com.leyou.item.mapper")  //因为mapper使用了通用mapper的mapper接口，避免歧义，不使用mapper注解，使用包扫描
public class LyItemApplication {
    public static void main(String[] args) {

        SpringApplication.run(LyItemApplication.class);
    }
}
